from rest_framework import serializers

from app01.models import *


class UserSer(serializers.ModelSerializer):
    class Meta:
        model=User
        fields='__all__'


class JournalismSer(serializers.ModelSerializer):
    class Meta:
        model=Journalism
        fields='__all__'

